<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
	<title>签到送红包</title>
	<link rel="stylesheet" type="text/css" href="css/public/reset.css">
	<link rel="stylesheet" type="text/css" href="css/public/font-awesome.css">
	<link rel="stylesheet" type="text/css" href="css/public/function.css">
	<link rel="stylesheet" type="text/css" href="css/style.css">

	<script type="text/javascript" src="js/model/jquery-1.8.0.min.js"></script>
	<script type="text/javascript" src="js/model/jquery.SuperSlide.2.1.1.source.js"></script>
	<script type="text/javascript" src="js/model/html5.js"></script>
	<script type="text/javascript" src="js/public.js"></script>
	<script type="text/javascript" src="js/app.js"></script>
</head>
<body class="g-body-in">
	<div class="g-wrap">
		<section class="h15"></section>
		<section class="main-sec pt5 main-wheel">
			<div class="big-border">
				<div class="small-border g9">



					<img src="images/mobile.png" width="50%" class="middle">
				</div>
			</div>
		</section>

		<section class="main-sec">
			<div class="m-title"><h3>活动说明</h3></div>
			<div class="einfo">
				<p>活动时间：手机扫码参与活动</p>
			</div>
		</section>

	</div>

</body>

<script type="text/javascript">
	var valueJson = {
		'wheelBody' : $('.big-border'), //转盘主体
		'wheelSmall' : $('.small-border'), //转盘内部
		'starsNum' : 16, //转盘边缘小黄点个数

		'starsPostion' : [[50, 0.5], [70, 6], [84.5, 18], [92.5, 32], [95.5, 50], [91, 68], [81.5, 81.5], [68, 91], [50, 95.5], [32, 92.5], [16, 83], [6, 70], [0.5, 50], [3.5, 32], [14, 15], [27, 5.5]], //小圆点坐标
		'actionRan' : 7200, //转盘转动弧度
		'theOnce' : 0, //初始化转盘第一个
		'startBtn' : $('.middle'), //开始按钮

 	};
	indexApp.init(valueJson);
</script>
<script src = "https://cdn.wilddog.com/sdk/js/2.5.8/wilddog.js"></script>
<script type="text/javascript">
    var config = {
        syncURL: "https://wild-ox-5743.wilddogio.com" //输入节点 URL
    };
    wilddog.initializeApp(config);

    wilddog.sync().ref('wheel').on("value", function(snapshot) {
        if(snapshot.val()==1){
         	window.location.href="choujiang.html"
		}

    });
</script>
</html>